home *** CD-ROM | disk | FTP | other *** search
/ Software USA 4 #8 / Software USA Volume 4.08.iso / mac / LifeStyles / ComicBase / ComicBase.sea / ComicBase 3 Mac Demo / ComicBase 3 Demo.rsrc / LENS_149_Preferences < prev    next >
Text File  |  1998-02-04  |  5KB  |  135 lines

  1. ItemType: WIND
  2. Rect: 332,266,692,501
  3. Style: Dialog
  4. HasTitleBar: TRUE
  5. HasZoomBox: FALSE
  6. Name: Preferences
  7. WhiteColor: -8739,-8739,-8739
  8. Script: --on windowEvent  wdID,wdName,objNo,objName,objValue¬¬global gWindowPositions¬¬---------------------¬-- This is window #16¬---------------------¬¬if objValue="Open" then ¬  ¬  -- Restore old window position¬  put OldWindowPosition(16) into windowRect¬  if windowRect = empty then centerWindow wdName¬  else wsSet wdID,"0","Rect",windowRect¬  ¬else if objValue="Close" then ¬  ¬  -- save the window position¬  put "16" & tab & wdName & tab & wsGet(wdID,"0","Rect") into line 16 of gWindowPositions¬  ¬end if¬¬--end windowEvent
  9. Params: i4_Hilite¬i5_Text¬i7_SelectionText¬i12_Hilite¬i13_Hilite
  10. Result: i12_Hilite¬i13_Hilite
  11.  
  12. ItemType: PUSH
  13. Rect: 264,202,344,222
  14. AutoSize: FALSE
  15. Name: Save
  16. DefaultItem: TRUE
  17. AutoClose: TRUE
  18. Balloon: Click here to save your changes and exit.
  19. Script: --on mouseUp  wdID,wdName,objNo,objName,objValue¬Global gBackupFileName, gAutoCompactSetting¬¬if wsGet(wdID,"4","Hilite") then¬  put wsGet(wdID,"BackupFileName","Text") into gBackupFileName¬else put empty into gBackupFileName¬put wsGet(wdID,"7","TextOfSelection") into gAutoCompactSetting¬--end mouseUp
  20.  
  21. ItemType: PUSH
  22. Rect: 174,202,254,222
  23. Name: Cancel
  24. CancelItem: TRUE
  25. AutoClose: TRUE
  26. Balloon: Click here to exit without saving your changes.
  27.  
  28. ItemType: BOX
  29. Rect: 14,52,347,117
  30. BlackColor: 26214,26214,26214
  31. Pen: White
  32.  
  33. ItemType: CHK
  34. Rect: 18,68,196,80
  35. TextFont: Geneva
  36. TextSize: 9
  37. WhiteColor: -8739,-8739,-8739
  38. Name: Keep a back-up copy of ComicBase
  39. Hilite: TRUE
  40. Balloon: Checking this option makes ComicBase keep a back-up copy whenever you quit. ¬¬This is STRONGLY recommended, as it saves you from any random mishaps (crashes, power failures) that may damage ComicBase and make it unreadable.
  41. Script: --on mouseUp  wdID,wdName,objNo,objName,objValue¬Global gBackupFileName¬¬set the itemDelimiter to ":"¬put the last item of gBackupFileName into lastBackupName¬if lastBackupName is empty then put "ComicBase Backup" into lastBackupName¬set the itemDelimiter to ","¬¬if wsGet(wdID,"3","Hilite") then¬  ask file "Save back-up file as:" with lastBackupName¬ wsSend "Preferences",0,"BringToFront"¬wsSend wdID,0,"DoUpdate"¬ if it <> empty then¬    wsSet wdID,"BackupFileName","Text",it¬  else -- No file name selected¬    wsSet wdID,"3","Hilite","False"¬  end if¬else¬  wsSet wdID,"BackupFileName","Text",""¬end if¬--end mouseUp
  42.  
  43. ItemType: TEXT
  44. Rect: 18,87,338,111
  45. TextFont: Geneva
  46. TextSize: 9
  47. AutoSize: FALSE
  48. Name: BackupFileName
  49. WhiteColor: -8739,-8739,-8739
  50.  
  51. ItemType: LBL
  52. Rect: 13,17,187,29
  53. TextFont: Geneva
  54. TextSize: 9
  55. TextStyle: Bold
  56. WhiteColor: -8739,-8739,-8739
  57. Text: Compact/Verify When Quitting:
  58. Balloon: Choose when you would like ComicBase to automatically compact & verify itself from this list. This ensures that ComicBase is in good condition (important before saving a backup) and frees up unused disk space.
  59.  
  60. ItemType: POP
  61. Rect: 185,18,347,31
  62. TextFont: Geneva
  63. TextSize: 9
  64. AutoSize: FALSE
  65. Name: WhenToCompactPop
  66. Text: Always¬When unused space > 5%¬When unused space > 10%¬When unused space > 20%
  67.  
  68. ItemType: PUSH
  69. Rect: 234,66,337,82
  70. TextFont: Geneva
  71. TextSize: 9
  72. Name: Change Location…
  73. Script: --on mouseUp  wdID,wdName,objNo,objName,objValue¬Global gBackupFileName¬¬set the itemDelimiter to ":"¬put the last item of gBackupFileName into lastBackupName¬if lastBackupName is empty then put "ComicBase Backup" into lastBackupName¬set the itemDelimiter to ","¬¬ask file "Save back-up file as:" with lastBackupName¬wsSend "Preferences",0,"BringToFront"¬wsSend wdID,0,"DoUpdate"¬if it <> empty then¬  wsSet wdID,"BackupFileName","Text",it¬else -- No file name selected¬  wsSet wdID,"3","Hilite","False"¬end if¬--end mouseUp
  74.  
  75. ItemType: BOX
  76. Rect: 13,51,346,116
  77. BlackColor: 26214,26214,26214
  78.  
  79. ItemType: LBL
  80. Rect: 20,130,99,142
  81. TextFont: Geneva
  82. TextSize: 9
  83. TextStyle: Bold
  84. Text: Issue Listings
  85.  
  86. ItemType: BOX
  87. Rect: 14,138,347,176
  88. BlackColor: 26214,26214,26214
  89. Pen: White
  90.  
  91. ItemType: CHK
  92. Rect: 19,154,162,166
  93. TextFont: Geneva
  94. TextSize: 9
  95. WhiteColor: -8739,-8739,-8739
  96. Name: Include Writer Information
  97. Hilite: TRUE
  98. Balloon: Checking this option makes ComicBase show artist information (when available) in the main issue view and other issue lists. The drawback to doing this is that it may crowd the display.
  99.  
  100. ItemType: CHK
  101. Rect: 173,155,314,167
  102. TextFont: Geneva
  103. TextSize: 9
  104. WhiteColor: -8739,-8739,-8739
  105. Name: Include Artist Information
  106. Hilite: TRUE
  107. Balloon: Checking this option makes ComicBase show writer information (when available) in the main issue view and other issue lists. The drawback to doing this is that it may crowd the display.
  108.  
  109. ItemType: BOX
  110. Rect: 13,137,346,175
  111. BlackColor: 26214,26214,26214
  112.  
  113. ItemType: BOX
  114. Rect: 18,131,98,144
  115. BlackColor: -8739,-8739,-8739
  116. Fill: Black
  117.  
  118. ItemType: LBL
  119. Rect: 20,130,99,142
  120. TextFont: Geneva
  121. TextSize: 9
  122. TextStyle: Bold
  123. Text: Issue Listings
  124.  
  125. ItemType: BOX
  126. Rect: 18,46,83,62
  127. BlackColor: -8739,-8739,-8739
  128. Fill: Black
  129.  
  130. ItemType: LBL
  131. Rect: 20,44,85,56
  132. TextFont: Geneva
  133. TextSize: 9
  134. TextStyle: Bold
  135. Text: Backup File